/*
 * Dto key class 
 * Created on 6 juin 2013 ( Time 15:03:52 )
 */

package org.demo.typeabonnementoption.bean;

import java.io.Serializable;


import javax.persistence.*;

import javax.validation.constraints.* ;
import org.hibernate.validator.constraints.* ;


import javax.persistence.*;

@Embeddable
public class TypeabonnementoptionKey implements Serializable
{
    private static final long serialVersionUID = 1L;

    //----------------------------------------------------------------------
    // ENTITY KEY ATTRIBUTES 
    //----------------------------------------------------------------------
    @Column(name="idTypeAbonnement", nullable=false)
    private int        idtypeabonnement ;
    
    @Column(name="idOption", nullable=false)
    private int        idoption     ;
    

    //----------------------------------------------------------------------
    // CONSTRUCTOR(S)
    //----------------------------------------------------------------------
    public TypeabonnementoptionKey()
    {
        super();
    }
    
    //----------------------------------------------------------------------
    // GETTERS & SETTERS FOR KEY FIELDS
    //----------------------------------------------------------------------
    public void setIdtypeabonnement( int value )
    {
        this.idtypeabonnement = value;
    }
    public int getIdtypeabonnement()
    {
        return this.idtypeabonnement;
    }

    public void setIdoption( int value )
    {
        this.idoption = value;
    }
    public int getIdoption()
    {
        return this.idoption;
    }


    

}
